import {configureStore} from '@reduxjs/toolkit'
 
// 导入片段
import counter from './counterSlice'
// 创建并导出一个 仓库
export const store = configureStore({
  reducer:{
    counter,//注册reducer
  }
})